{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "89e08e99",
   "metadata": {},
   "source": [
    "--------\n",
    "* 2022/10/10/week08\n",
    "* python学习记录\n",
    "--------"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e0c41995",
   "metadata": {},
   "source": [
    "### 1.2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cb78d467",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c3fff44a",
   "metadata": {},
   "outputs": [],
   "source": [
    "nev_name = [\"小明\"，\"小红\"，\"张杰\"，\"李华\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "426ef949",
   "metadata": {},
   "outputs": [],
   "source": [
    "for i in nev_name:\n",
    "    print(\"广州南方学院团委欢迎\"+i)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "abfc5689",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'广州南方学院团委欢迎小明'"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\"广州南方学院团委欢迎\"+\"小明\""
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6304a423",
   "metadata": {},
   "source": [
    "# 2.有序的数据结构--列表（list）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2b8ae9c0",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 思考：假设，有这样一个场景，我要录入/存放一个班的同学的信息（名单信息），用字符串存放是否可行？如何取值呢？"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b3c0454f",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 字符串存放\n",
    "网二_name=\"李华\",\"小明\"，\"李晓华\",\"小红\""
   ]
  },
  {
   "cell_type": "markdown",
   "id": "787072f3",
   "metadata": {},
   "source": [
    "### 2.2列表的方法"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9c6a6ed6",
   "metadata": {},
   "source": [
    "> ##### 1.增加\n",
    "> ##### 2.删除\n",
    "> ##### 3.修改\n",
    " >##### 4.查询in，count"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "14180ce3",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
